
<?php if(isset($error)) { ?> 
    <div class="alert alert-error">
        Error de acceso
    </div>
<?php } else { ?>
    <h1>Nuevo Equipo</h1>
    <?php
    echo $this->Form->create('Team',array('action' => 'nueva/'.$this->params['pass'][0]));
    echo $this->Form->input('name',array('label' => 'Nombre'));
    echo $this->Form->input('detail', array('rows' => '3','label' => 'Detalles'));
    echo $this->Form->end('Save');
}?>